﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <!--TODO: Tooltip on disabled controls-->
    <!--BEGIN LABEL-->
    <Style TargetType="{x:Type ToolTip}">
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="VerticalOffset" Value="-2" />
        <Setter Property="FontSize" Value="10" />
        <Setter Property="FontFamily" Value="Tahoma" />
        <Setter Property="Panel.ZIndex" Value="99" />
        <Setter Property="Foreground" Value="{DynamicResource BrushTooltipForeground}" />
        <Setter Property="ToolTipService.ShowOnDisabled" Value="True" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToolTip}">
                    <Grid Name="Border" Background="Transparent" Width="{TemplateBinding Width}" Height="21" Margin="{TemplateBinding Margin}">
                        <Rectangle Margin="1.926,3.465,0.878,0" Fill="{DynamicResource BrushTooltipShadowBackground}" Stroke="{x:Null}" RadiusX="3" RadiusY="3" x:Name="shadow" Height="15.84" VerticalAlignment="Top"/>
                        <Rectangle Stroke="{DynamicResource BrushTooltipBorder}" RadiusX="3" RadiusY="3" x:Name="back" Height="17.07" VerticalAlignment="Top" Margin="0,0,2.609,0" Fill="{DynamicResource BrushTooltipBackground}"/>
                        <ContentPresenter Margin="5,-4,8,0" HorizontalAlignment="Center" VerticalAlignment="Center" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--END LABEL-->
</ResourceDictionary>